home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / bsd / dev / zsio.h < prev   
Text File  |  1995-02-14  |  1KB  |  38 lines

  1. /* Copyright (c) 1992 NeXT Computer, Inc.  All rights reserved.
  2.  *
  3.  *    Serial port ioctl definitions.
  4.  */
  5.  
  6. #import    <sys/ioctl.h>
  7.  
  8.  
  9. /*
  10.  * Modem signals: for use with TIOCMGET, TIOCMBIS, TIOCMBIC, and TIOCMSET
  11.  */
  12. #define    DML_DSR        0000400        /* data set ready, not a real DM bit */
  13. #define    DML_RNG        0000200        /* ring */
  14. #define    DML_CAR        0000100        /* carrier detect */
  15. #define    DML_CTS        0000040        /* clear to send */
  16. #define    DML_SR        0000020        /* secondary receive */
  17. #define    DML_ST        0000010        /* secondary transmit */
  18. #define    DML_RTS        0000004        /* request to send */
  19. #define    DML_DTR        0000002        /* data terminal ready */
  20. #define    DML_LE        0000001        /* line enable */
  21.  
  22.  
  23. /*
  24.  * ioctl to change receiver silo delay
  25.  */
  26. #define    ZIOCTGET    _IOR('z', 0, int)    /* get silo delay */
  27. #define    ZIOCTSET    _IOW('z', 1, int)    /* set silo delay */
  28.  
  29. /*
  30.  * ioctl to get serial line features
  31.  * (OR of supported features is returned)
  32.  */
  33. #define    ZIOCFGET    _IOR('z', 2, int)    /* get features */
  34.  
  35. #define    ZSFEATURE_HWFLOWCTRL    0x0001        /* CTS/RTS flow control */
  36.  
  37.  
  38.